import { StrictMode, Suspense } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.tsx'
import store from './store/store.ts'
import { Provider } from 'react-redux'
createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <Suspense fallback={<div>加载中...</div>}>
      <Provider store={store}>
        <App />
      </Provider>
    </Suspense>

  </StrictMode>,
)
